﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ISS.IR.RRNMS.Library.DataAccess;

namespace ISS.IR.RRNMS.Library.BusinessLogic
{
    public static class Lookups
    {
        public static List<Item> SelectAllEditableCategories()
        {
            return Main.SelectAllEditableCategories();
        }

        public static List<Item> SelectCategoryItems(int CategoryId)
        {
            return Main.SelectCategoryItems(CategoryId);
        }

        public static void SaveLookup(int CategoryId, int ItemId, string LookupValue)
        {
            Main.SaveLookup(CategoryId, ItemId, LookupValue);
        }

        public static void DeleteLookup(int ItemId)
        {
            Main.DeleteLookup(ItemId);
        }
    }
}
